package models;

import play.*;
import play.data.validation.*;
import play.db.jpa.*;

import javax.persistence.*;
import java.util.*;

@Entity
public class CommercialOfferer extends User {
    
	@Required
	public String hotelname;
	public String hotellink;
	public int stars;
	
	public CommercialOfferer(String email, String password) {
		super(email, password);
	}

	@Override
	public String hasClass() {
		return "Commercial Offerer";
	}
}
